package Wix::Tag::Package;

use parent qw/Wix::Tag/;

our $DEFAULT_COMPRESSED = 'yes';

sub new() {
	my ($class, $args) = @_;
	
	my $self = Wix::Tag->new({TAG => 'Package'});
	
	$self->addAttr('Description', $args->{DESCRIPTION});
	$self->addAttr('Compressed', $args->{LANGUAGE} || $DEFAULT_COMPRESSED);
	
	return bless($self, $class);
}

1;